package me.dengfengdecao.demo.utils;

import org.hibernate.cfg.ImprovedNamingStrategy;

/**
 * Created by dengfengdecao on 16/9/26.
 */
public class CustomNamingStrategy extends ImprovedNamingStrategy {

    @Override
    public String tableName(String tableName) {
        return "t_" + tableName.toLowerCase();
    }
}

